package com.zenchn.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zenchn.model.TMiCustomer;
import com.zenchn.model.TMiCustomerContacts;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * @author panbingqi
 * @version 1.0
 * @date 2021/06/04 17:28:30
 */
public class CustomerVO extends TMiCustomer {

    private static final long serialVersionUID = -1937801011641915916L;

    @ApiModelProperty(value="联系人信息")
    private TMiCustomerContacts customerContacts;

    @ApiModelProperty(value="区域名称")
    private String regionName;

    @ApiModelProperty(value="省级名称")
    private String areasCodeName;

    @ApiModelProperty(value="最近转移时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastTransferTime;

    @ApiModelProperty(value="代理商名称")
    private String belongToName;

    @ApiModelProperty(value="所属用户名称")
    private String accountName;

    @ApiModelProperty(value="类型名称")
    private String customerTypeName;

    @ApiModelProperty(value="医院等级名称")
    private String hospitalLevel;

    @ApiModelProperty(value="医院等级名称")
    private String levelName;

    @ApiModelProperty(value="超时未升级")
    private Boolean isUpgrade;

    public Boolean getUpgrade() {
        return isUpgrade;
    }

    public void setUpgrade(Boolean upgrade) {
        isUpgrade = upgrade;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getHospitalLevel() {
        return hospitalLevel;
    }

    public void setHospitalLevel(String hospitalLevel) {
        this.hospitalLevel = hospitalLevel;
    }

    public String getCustomerTypeName() {
        return customerTypeName;
    }

    public void setCustomerTypeName(String customerTypeName) {
        this.customerTypeName = customerTypeName;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getBelongToName() {
        return belongToName;
    }

    public void setBelongToName(String belongToName) {
        this.belongToName = belongToName;
    }

    public LocalDateTime getLastTransferTime() {
        return lastTransferTime;
    }

    public void setLastTransferTime(LocalDateTime lastTransferTime) {
        this.lastTransferTime = lastTransferTime;
    }

    public TMiCustomerContacts getCustomerContacts() {
        return customerContacts;
    }

    public void setCustomerContacts(TMiCustomerContacts customerContacts) {
        this.customerContacts = customerContacts;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getAreasCodeName() {
        return areasCodeName;
    }

    public void setAreasCodeName(String areasCodeName) {
        this.areasCodeName = areasCodeName;
    }
}
